using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using System.Data.Entity.ModelConfiguration.Configuration;
using ESoft.Core.DAO;
using ESoft.Core.Model;

namespace ESoft.Domain.Entity
{
    /// <summary>
    /// PackageProduct
    /// </summary>    
	[Table("package_product")]
    public partial class PackageProductEntity : BaseFakeModel<String>
    {		    
        /// <summary>
        /// 
        /// </summary>
		[Column("package_id")]
        public string PackageId { get; set; }
    
        /// <summary>
        /// 
        /// </summary>
		[Column("product_id")]
        public string ProductId { get; set; }
    }

	public class PackageProductEntityRegstHelper : IEntityMapper
    {
        public void RegistTo(ConfigurationRegistrar configurations)
        {
            configurations.Add<PackageProductEntity>(new EntityTypeConfiguration<PackageProductEntity>());
        }
    }
}

